<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>欢迎页面-小螺号</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" href="./css/font.css">
		<link rel="stylesheet" href="./css/xadmin.css">
		<script type="text/javascript" src="js/jquery.min.js" ></script>
		<script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
		<script type="text/javascript" src="./js/xadmin.js"></script>
		<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
		<!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
	</head>

	<body>
		<div class="x-body">
			<form class="layui-form">
				<!--<div class="layui-form-item">
              <label for="username" class="layui-form-label">
                  <span class="x-red">*</span>用户名
              </label>
              <div class="layui-input-inline">
                  <input type="text" id="username" name="username" class="layui-input" value="用户名">
              </div>
          </div>-->
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">订单状态</label>
					<button class="layui-btn layui-btn-normal">已确定</button>
					<button class="layui-btn layui-btn-danger">待确定</button>

				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">付款状态</label>
					<button class="layui-btn layui-btn-normal">已支付</button>
					<button class="layui-btn layui-btn-danger">未支付</button>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">发货状态</label>
					<button class="layui-btn layui-btn-normal">已发货</button>
					<button class="layui-btn layui-btn-danger">待发货</button>

				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">订单编号</label>
					<div class="layui-input-inline">
						<input type="text" id="goodscode" name="goodscode" class="layui-input" value="订单编号">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">收货人</label>
					<div class="layui-input-inline">
						<input type="text" id="username" name="username" class="layui-input" value="收货人">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">收货地址</label>
					<div class="layui-input-inline">
						<input type="text" id="username" name="username" class="layui-input" value="收货地址">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="phone" class="layui-form-label">联系电话</label>
					<div class="layui-input-inline">
						<input type="text" id="phone" name="phone" class="layui-input" value="联系电话">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">总金额</label>
					<div class="layui-input-inline">
						<input type="text" id="price1" name="price1" class="layui-input" value="21500">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">应付金额</label>
					<div class="layui-input-inline">
						<input type="text" id="price2" name="price2" class="layui-input" value="210">
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">配送物流</label>
					<div class="layui-input-inline">
						<select id="shipping" name="shipping" class="valid">
							<option value="shentong">申通物流</option>
							<option value="shunfeng">顺丰物流</option>
						</select>
					</div>
				</div>
				<div class="layui-form-item">
					<label for="username" class="layui-form-label">支付方式</label>
					<div class="layui-input-inline">
						<select name="contrller">
							<option>支付方式</option>
							<option>支付宝</option>
							<option>微信</option>
							<option>货到付款</option>
						</select>
					</div>
				</div>
				<!--<div class="layui-form-item">
              <label for="L_email" class="layui-form-label">发票抬头</label>
              <div class="layui-input-inline">
                  <input type="text" id="L_email" name="email" class="layui-input">
              </div>
              <div class="layui-form-mid layui-word-aux">
                  <span class="x-red">*</span>
              </div>
          </div>-->
				<div class="layui-form-item layui-form-text">
					<label for="desc" class="layui-form-label">商品清单</label>
					<div class="layui-input-block">
						<table class="layui-table">
							<tbody>
								<tr>
									<td>haier海尔 BC-93TMPF 93升单门冰箱</div>
					</td>
					<td>0.01</div>
				</td>
				<td>984</div>
		</td>
		<td>1</td>
		<td>
			<a title="删除" onclick="member_del(this,'要删除的id')" href="javascript:;">
				<i class="layui-icon">&#xe640;</i>
			</a>
		</td>
		</tr>
		<tr>
			<td>haier海尔 BC-93TMPF 93升单门冰箱</div>
			</td>
			<td>0.01</div>
			</td>
			<td>984</div>
			</td>
			<td>1</td>
			<td>
				<a title="删除" onclick="member_del(this,'要删除的id')" href="javascript:;">
					<i class="layui-icon">&#xe640;</i>
				</a>
			</td>
		</tr>
		</tbody>
		</table>
		</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<label for="desc" class="layui-form-label">备注信息</label>
			<div class="layui-input-block">
				<textarea placeholder="请输入内容" id="desc" name="desc" class="layui-textarea"></textarea>
			</div>
		</div>
		<div class="layui-form-item">
			<label for="L_repass" class="layui-form-label"></label>
			<button class="layui-btn" lay-filter="add" lay-submit="">保存</button>
		</div>
		</form>
		</div>
		<script>
			layui.use(['form', 'layer'], function() {
				$ = layui.jquery;
				var form = layui.form,
					layer = layui.layer;

				/*商品-删除*/
				function member_del(obj, id) {
					layer.confirm('确认要删除吗？', function(index) {
						//发异步删除数据
						$(obj).parents("tr").remove();
						layer.msg('已删除!', {
							icon: 1,
							time: 1000
						});
					});
				}
			});
		</script>

	</body>

</html>